package com.ml.loan.sys.service;

import com.ml.loan.common.model.PageResult;
import com.ml.loan.sys.model.SysOperRecord;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 操作日志 服务类
 * </p>
 *
 * @author milian
 * @since 2022-08-22
 */
public interface SysOperRecordService extends IService<SysOperRecord> {

    /**
     * 保存操作日志
     * @param operRecord
     */
    void saveAsync(SysOperRecord operRecord);

    /**
     * 操作日志列表
     * @param page
     * @param limit
     * @param startDate
     * @param endDate
     * @param searchKey
     * @param searchValue
     * @param userType
     * @return
     */
    PageResult<SysOperRecord> list(Integer page, Integer limit, String startDate, String endDate, String searchKey, String searchValue, Integer userType);
}
